package domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private Integer id;
    private Integer uid;//用户id
    private String m_offical;//官方信息
    private String m_inform;//通知信息
    private String m_private;//私信
    private String friend_id;//朋友列表id
    private String blacklist;//黑名单

    public Message(Integer uid, String m_offical, String m_inform, String m_private, String blacklist) {
        this.uid = uid;
        this.m_offical = m_offical;
        this.m_inform = m_inform;
        this.m_private = m_private;
        this.blacklist = blacklist;
    }

    public Message(Integer uid, String m_offical, String m_inform, String m_private, String friend_id, String blacklist) {
        this.uid = uid;
        this.m_offical = m_offical;
        this.m_inform = m_inform;
        this.m_private = m_private;
        this.friend_id = friend_id;
        this.blacklist = blacklist;
    }
}
